﻿using FreeSql.DataAnnotations;
using System.ComponentModel;

namespace D.AT.Models
{
    [Table(Name = "HttpCacheEntity")]
    [Description("Http缓存")]
    public class HttpCacheEntity
    {
        [Column(IsPrimary = true, IsIdentity = true)]
        [Description("主键")]
        public int Id { get; set; }

        [Column(DbType = "varchar", StringLength = 128)]
        [Description("名称")]
        public string Name { get; set; }

        [Column(DbType = "varchar", StringLength = 225)]
        [Description("地址")]
        public string Url { get; set; }

        [Column(DbType = "varchar", StringLength = 128)]
        [Description("POST/GET")]
        public string Methord { get; set; }

        [Column(DbType = "varchar", StringLength = 4000)]
        [Description("请求头")]
        public string Hearders { get; set; }

        [Column(DbType = "varchar", StringLength = 8000)]
        [Description("请求内容")]
        public string Body { get; set; }
    }
}
